<?php

namespace Alter\HominemBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Alter\HominemBundle\Entity\Cases
 */
class Cases
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $posX
     */
    private $posX;

    /**
     * @var integer $posY
     */
    private $posY;

    /**
     * @var string $disponibility
     */
    private $disponibility;

    /**
     * @ORM\OneToOne(targetEntity="Alter\UserBundle\Entity\User")
     */    
    private $auteur;

    /**
     * @var Alter\HominemBundle\Entity\Grille
     */
    private $grille;

    /**
     * @var Alter\HominemBundle\Entity\Image
     */
    private $image;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set posX
     *
     * @param integer $posX
     */
    public function setPosX($posX)
    {
        $this->posX = $posX;
    }

    /**
     * Get posX
     *
     * @return integer 
     */
    public function getPosX()
    {
        return $this->posX;
    }

    /**
     * Set posY
     *
     * @param integer $posY
     */
    public function setPosY($posY)
    {
        $this->posY = $posY;
    }

    /**
     * Get posY
     *
     * @return integer 
     */
    public function getPosY()
    {
        return $this->posY;
    }

    /**
     * Set disponibility
     *
     * @param string $disponibility
     */
    public function setDisponibility($disponibility)
    {
        $this->disponibility = $disponibility;
    }

    /**
     * Get disponibility
     *
     * @return string 
     */
    public function getDisponibility()
    {
        return $this->disponibility;
    }

    /**
     * Set grille
     *
     * @param Alter\HominemBundle\Entity\Grille $grille
     */
    public function setGrille(\Alter\HominemBundle\Entity\Grille $grille)
    {
        $this->grille = $grille;
    }

    /**
     * Get grille
     *
     * @return Alter\HominemBundle\Entity\Grille 
     */
    public function getGrille()
    {
        return $this->grille;
    }

    /**
     * Set image
     *
     * @param Alter\HominemBundle\Entity\Image $image
     */
    public function setImage(\Alter\HominemBundle\Entity\Image $image)
    {
        $this->image = $image;
    }

    /**
     * Get image
     *
     * @return Alter\HominemBundle\Entity\Image 
     */
    public function getImage()
    {
        return $this->image;
    }
}
